<?php
html::printPath('viSeminar.form-title');
$msg->printMessages();
?>

<ul class="commandList">
    <li class="addLi"><?php echo html::anchor('admin/viseminWizard/', text::get('viSeminar.createNew')) ?></li>
    <li class="overviewCommand"><?php echo html::anchor('admin/viSeminar/overview', text::get('viSeminar.overview')) ?></li>
    <!-- <li class="searchCommand"><?php echo html::searchEntityAnchor($this); ?></li> -->
</ul>

<?php
echo '<div class="quickSearchField">';
$fb = new FormBuilder('viSeminar', $entity);
$fb->setAction('/admin/viSeminar/quickSearch');
$fb->autocompleter('quickSearch_id', $viSeminarOptions)->mustMatch()->labelKey('application.quickSearch');
$fb->write();
echo '</div>';

$elb = new EntityListBuilder($this, $viSeminarList);
$elb->text('name');
$elb->date('begin_date');
$elb->date('end_date');
$elb->text('instructor');
$elb->boolean('active');
$elb->write();
